# File: makefile
# Author: Aaron Odell
# Company: Digilent Inc.
# Date: 8/16/2010
# Description: makefile for Adept SDK DspiDemo

CC = gcc
INC = /usr/local/include/digilent/adept
LIBDIR = /usr/local/lib64/digilent/adept
TARGETS = DspiDemo
CFLAGS = -I $(INC) -L $(LIBDIR) -ldspi -ldmgr -lstdc++

all: $(TARGETS)

DspiDemo:
	$(CC) -o DspiDemo DspiDemo.cpp $(CFLAGS)
	

.PHONY: vclean

vclean:
	rm -f $(TARGETS)

